package com.qqtech.qquan.community.model;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class CommunityAddr extends BaseDomain{

	//columns START
    /** 自关联父id，等层则是0 */
	private java.lang.Integer parentId;
    /** 关联社区id */
	private java.lang.Integer communityId;
    /** 区栋或单元数值+名称，如13区、5栋、8幢 */
	private java.lang.String name;
	//columns END
	public CommunityAddr(){
	}

	public CommunityAddr( java.lang.Integer id ){
		this.id = id;
	}

	public void setParentId(java.lang.Integer parentId) {
		this.parentId = parentId;
	}

	public java.lang.Integer getParentId() {
		return this.parentId;
	}
	
	public void setCommunityId(java.lang.Integer communityId) {
		this.communityId = communityId;
	}

	public java.lang.Integer getCommunityId() {
		return this.communityId;
	}
	
	public void setName(java.lang.String name) {
		this.name = name;
	}

	public java.lang.String getName() {
		return this.name;
	}
	

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

